package com.online.onlineshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.ToString;

@Data
@ToString

public class Cart extends BaseFields {
    @TableId(value = "cid", type = IdType.AUTO)
    private int cid;
    private int uid;
    private int pid;
    private int num;

}
